You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by GitBox <gi...@apache.org> on 2018/05/22 09:28:29 UTC

[GitHub] rafaelweingartner commented on a change in pull request #2660: Macaddresses

rafaelweingartner commented on a change in pull request #2660: Macaddresses
URL: https://github.com/apache/cloudstack/pull/2660#discussion_r189834173
 
 

 ##########
 File path: utils/src/test/java/com/cloud/utils/net/MacAddressTest.java
 ##########
 @@ -51,10 +52,11 @@ public final void testMacAddressToLong() throws Exception {
     // TODO    public final void testToString() throws Exception {
     // TODO    public final void testGetMacAddress() throws Exception {
     // TODO    public final void testParse() throws Exception {
-    // TODO    public final void testMain() throws Exception {
-    // TODO    public final void testParseLong() throws Exception {
-    // TODO    public final void testParseInt() throws Exception {
-    // TODO    public final void testParseShort() throws Exception {
-    // TODO    public final void testParseByte() throws Exception {
 
+    public static void main(String[] args) {
 
 Review comment:
   A "main" method in a test file? Why not create unit test cases instead?

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services