package com.beust.kobalt

import org.testng.Assert
import org.testng.annotations.Test
import java.util.Properties

@Test
public class ResourceTest {
    val fileName = "kobalt.properties"

    fun shouldLoadResources() {
        val properties = Properties()
        val res = ClassLoader.getSystemResource(fileName)
        if (res != null) {
            properties.load(res.openStream())
            Assert.assertTrue(properties["foo"] == "bar")
        } else {
            Assert.fail("Couldn't load $fileName")
        }
    }
}

package com.beust.kobalt

import org.testng.Assert
import org.testng.annotations.Test
import java.util.Properties

@Test(enabled = false)
public class ResourceTest {
    val fileName = "kobalt.properties"

    fun shouldLoadResources() {
        val properties = Properties()
        val res = ClassLoader.getSystemResource(fileName)
        if (res != null) {
            properties.load(res.openStream())
            Assert.assertTrue(properties["foo"] == "bar")
        } else {
            Assert.fail("Couldn't load $fileName")
        }
    }
}

Disable this test for now.
Disable this test for now.

ethauvin/kobalt,evanchooly/kobalt,evanchooly/kobalt,ethauvin/kobalt,ethauvin/kobalt,cbeust/kobalt,cbeust/kobalt,evanchooly/kobalt,ethauvin/kobalt,evanchooly/kobalt,cbeust/kobalt