dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #30055
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 15247: COG, test fix
------------------------------------------------------------
revno: 15247
committer: Lars Helge Overland <larshelge@xxxxxxxxx>
branch nick: dhis2
timestamp: Tue 2014-05-13 10:13:16 +0200
message:
COG, test fix
modified:
dhis-2/dhis-support/dhis-support-test/src/main/java/org/hisp/dhis/DhisConvenienceTest.java
--
lp:dhis2
https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk
Your team DHIS 2 developers is subscribed to branch lp:dhis2.
To unsubscribe from this branch go to https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk/+edit-subscription
=== modified file 'dhis-2/dhis-support/dhis-support-test/src/main/java/org/hisp/dhis/DhisConvenienceTest.java'
--- dhis-2/dhis-support/dhis-support-test/src/main/java/org/hisp/dhis/DhisConvenienceTest.java 2014-04-28 12:39:27 +0000
+++ dhis-2/dhis-support/dhis-support-test/src/main/java/org/hisp/dhis/DhisConvenienceTest.java 2014-05-13 08:13:16 +0000
@@ -600,15 +600,16 @@
}
/**
- * @param categoryGroupUniqueIdentifier A unique character to identify the
+ * @param uniqueIdentifier A unique character to identify the
* category option group.
* @param categoryOptions the category options.
* @return CategoryOptionGroup
*/
- public static CategoryOptionGroup createCategoryOptionGroup( char categoryGroupUniqueIdentifier,
+ public static CategoryOptionGroup createCategoryOptionGroup( char uniqueIdentifier,
DataElementCategoryOption... categoryOptions )
{
- CategoryOptionGroup categoryOptionGroup = new CategoryOptionGroup( "CategoryOptionGroup" + categoryGroupUniqueIdentifier );
+ CategoryOptionGroup categoryOptionGroup = new CategoryOptionGroup( "CategoryOptionGroup" + uniqueIdentifier );
+ categoryOptionGroup.setShortName( "ShortName" + uniqueIdentifier );
categoryOptionGroup.setAutoFields();
categoryOptionGroup.setMembers( new HashSet<DataElementCategoryOption>() );