Skip to content

Commit

Permalink
1.1版本
Browse files Browse the repository at this point in the history
  • Loading branch information
seaswalker committed Apr 10, 2017
1 parent b0a4970 commit 863c160
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

<groupId>skywalker</groupId>
<artifactId>Configurer</artifactId>
<version>1.0-SNAPSHOT</version>
<version>1.1-SNAPSHOT</version>
<build>
<plugins>
<plugin>
Expand Down Expand Up @@ -35,9 +35,9 @@
<name>Configurer</name>
<url>http://maven.apache.org</url>

<configurator.properties>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</configurator.properties>
</properties>

<dependencies>
<dependency>
Expand Down
6 changes: 3 additions & 3 deletions src/test/java/configurator/ioc/IOCTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -45,17 +45,17 @@ public void getByNameNull() {
System.out.println(teacher.toString());
}

/**
/* *//**
* 测试{@link configurator.bean.Scope}.
*/
*//*
@Test
public void scope() {
Injector injector = new Injector();
BeanContainer container = injector.basePackage("configurator.ioc").inject();
Student s1 = (Student) container.get("student");
Student s2 = (Student) container.get("student");
Assert.assertTrue(s1 != s2);
}
}*/

@Test
public void annotation() throws ClassNotFoundException {
Expand Down

0 comments on commit 863c160

Please sign in to comment.