Skip to content

Commit

Permalink
minor test improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
stuartwdouglas authored and pmuir committed Jul 27, 2010
1 parent cb8ef30 commit c39c307
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 45 deletions.
6 changes: 3 additions & 3 deletions impl/pom.xml
Expand Up @@ -116,9 +116,9 @@
</dependency>

<dependency>
<groupId>juel</groupId>
<artifactId>juel-impl</artifactId>
<version>2.1.0</version>
<groupId>el-impl</groupId>
<artifactId>el-impl</artifactId>
<version>1.0</version>
<scope>test</scope>
</dependency>

Expand Down
41 changes: 0 additions & 41 deletions impl/src/test/java/org/jboss/weld/extensions/test/el/Car.java

This file was deleted.

Expand Up @@ -49,5 +49,7 @@ public static Archive<?> deploy()
public void testElResolver()
{
Assert.assertTrue(extressions.evaluateValueExpression("#{ute.speed}").equals("fast"));
Assert.assertTrue(extressions.invokeMethodExpression("#{ute.go}").equals(Ute.GO_STRING));

}
}
Expand Up @@ -21,11 +21,12 @@
@Named
public class Ute
{
public static String GO_STRING = "Vroom Vroom";
public String speed = "fast";

public String go()
{
return "Vroom Vroom";
return GO_STRING;
}

public String getSpeed()
Expand Down

0 comments on commit c39c307

Please sign in to comment.