• rossella ladogana 6
  • NEWBIE
  • 5 Points
  • Member since 2016

  • Chatter
    Feed
  • 0
    Best Answers
  • 1
    Likes Received
  • 0
    Likes Given
  • 2
    Questions
  • 4
    Replies
Hello,
as i wrote in the title i've got this issue. the two classes i use are those:
@isTest
public class ContainsProvaTest {
    static testMethod void prova(){
        ContainsProva prova1 = new ContainsProva();
        prova1.contains();
        
    }
}

public with sharing class ContainsProva {
    public void contains() {
        String name = 'Rossella';
        boolean result = name.contains('Ros');
        System.debug('Result is' + result);
    }
  
}

Both classes are inside an Apex sandbox project.

Configuration

test configuration

What's wrong with that?

I read that it could be a bug of salesforce. Can anyone helps me?

Thanks

Rossella
Hello,
after several attemts, I have tried to import from my developer sandbox just ONE custom class, to check if the problem can be an out of memory. Again in this case, with just one apex class, i've got the java heap error for OutOfMemory.
I've found different answers about this kind of problem for DataLoader but not in EclipseIDE.
Does anyone have a possibile answer or solution?

Best regards

Rossella
Hello,
as i wrote in the title i've got this issue. the two classes i use are those:
@isTest
public class ContainsProvaTest {
    static testMethod void prova(){
        ContainsProva prova1 = new ContainsProva();
        prova1.contains();
        
    }
}

public with sharing class ContainsProva {
    public void contains() {
        String name = 'Rossella';
        boolean result = name.contains('Ros');
        System.debug('Result is' + result);
    }
  
}

Both classes are inside an Apex sandbox project.

Configuration

test configuration

What's wrong with that?

I read that it could be a bug of salesforce. Can anyone helps me?

Thanks

Rossella
Hello,
as i wrote in the title i've got this issue. the two classes i use are those:
@isTest
public class ContainsProvaTest {
    static testMethod void prova(){
        ContainsProva prova1 = new ContainsProva();
        prova1.contains();
        
    }
}

public with sharing class ContainsProva {
    public void contains() {
        String name = 'Rossella';
        boolean result = name.contains('Ros');
        System.debug('Result is' + result);
    }
  
}

Both classes are inside an Apex sandbox project.

Configuration

test configuration

What's wrong with that?

I read that it could be a bug of salesforce. Can anyone helps me?

Thanks

Rossella
Hello,
after several attemts, I have tried to import from my developer sandbox just ONE custom class, to check if the problem can be an out of memory. Again in this case, with just one apex class, i've got the java heap error for OutOfMemory.
I've found different answers about this kind of problem for DataLoader but not in EclipseIDE.
Does anyone have a possibile answer or solution?

Best regards

Rossella