Arrow_left   Arrow_right
 
  #1000142

IDE error,can not recognize should,must (test as specifications)

    • Created on: Tue, 31 Aug 2010 (over 1 year ago)
    • Reported by: huiwen.han
    • Assigned to: Miles Sabin
    • Milestone: -
    • Type: Defect
    • Version: 2.8.0.final
    • Status: Invalid
    • Priority: Normal (3)
    • Component: -
    • Permission type: None
    • Fixed in version: -
    • Eclipse version: Galileo
    import net.lag.configgy.Configgy
    import org.specs.Specification

    code:
    abstract class ConfiguredSpecification extends Specification {

    try {
    Configgy.configure("config/test.conf")
    } catch {
    case ex: Exception => ex.printStackTrace()
    }

    lazy val config = Configgy.config
    }

    object PrefzSpec extends ConfiguredSpecification {
    "Prefz" should {

    error message:
    Description Resource Path Location Type
    value should is not a member of java.lang.String PrefzSpec.scala /gizzard_prefz/src/test/scala/com/ibm/webahead/steer/gizzard/preference/integration line 13 Scala Problem
  • Followers
     
    Ico-users Miles Sabin (Assigned To) 
     
    Attachments
    No attachments
    Associations
     
    No associations
    Activity
     
    User picture

          on Aug 31, 2010 @ 06:17AM UTC * By Miles Sabin

    Does this compile correctly with scalac on the command line?
    User picture

          on Aug 31, 2010 @ 11:16AM UTC * By huiwen.han

    Yes ,it is like project http://github.com/nkallen/Rowz,

    could you please import the project to Eclipse,

    There has many code that can not be recognized by Eclipse.
    User picture

          on Aug 31, 2010 @ 12:18PM UTC * By Miles Sabin

    Status changed from New to Invalid
    Time Expenditure
    Loading