| | |
| | |
|
| | | import static org.junit.Assert.assertEquals;
|
| | | import static org.junit.Assert.assertFalse;
|
| | | import static org.junit.Assert.assertTrue;
|
| | | import static org.junit.Assert.assertNotNull;
|
| | | import static org.junit.Assert.assertTrue;
|
| | |
|
| | | import java.util.List;
|
| | |
|
| | |
| | | RepositoryModel model = GitBlit.self().getRepositoryModel(
|
| | | GitBlitSuite.getHelloworldRepository().getDirectory().getName());
|
| | | assertTrue("Helloworld model is null!", model != null);
|
| | | assertEquals(GitBlitSuite.getHelloworldRepository().getDirectory().getName(), model.toString());
|
| | | assertEquals(GitBlitSuite.getHelloworldRepository().getDirectory().getName(), model.name);
|
| | | assertTrue(GitBlit.self().calculateSize(model) > 22000L);
|
| | | }
|
| | |
|