git.net

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GitHub] brooklyn-server pull request #969: Add registered types test


Github user geomacy commented on a diff in the pull request:

    https://github.com/apache/brooklyn-server/pull/969#discussion_r193327856
  
    --- Diff: core/src/test/java/org/apache/brooklyn/core/typereg/RegisteredTypesTest.java ---
    @@ -0,0 +1,123 @@
    +package org.apache.brooklyn.core.typereg;
    +
    +import org.apache.brooklyn.api.typereg.BrooklynTypeRegistry;
    +import org.apache.brooklyn.api.typereg.RegisteredType;
    +import org.testng.annotations.Test;
    +
    +import javax.annotation.Nullable;
    +
    +import static org.testng.Assert.*;
    +
    +public class RegisteredTypesTest {
    +
    +    public static final String DRBD_YAML = "brooklyn.catalog:\n" +
    --- End diff --
    
    also they would be easier to read if you used `Strings.lines()` to join them


---