<commit_before>
import { AmexioButtonComponent } from './../buttons/button.component';
import { AmexioFormIconComponent } from './../icon/icon.component';
import { AmexioTextAreaComponent } from './textarea.component';
import { By } from '@angular/platform-browser';
import { ComponentFixture, TestBed } from '@angular/core/testing';
import { FormsModule } from '@angular/forms';
import { IconLoaderService } from '../../../index';

describe('TextArea ', () => {
  let comp: AmexioTextAreaComponent;
  let fixture: ComponentFixture<AmexioTextAreaComponent>;

  beforeEach(() => {
    TestBed.configureTestingModule({
      imports: [FormsModule],
      declarations: [AmexioTextAreaComponent, AmexioFormIconComponent],
      providers: [IconLoaderService]
    });
    fixture = TestBed.createComponent(AmexioTextAreaComponent);
    comp = fixture.componentInstance;
  });
  it('true is true', () => expect(true).toBe(true));
  it('Condition Check', () => {
    comp.value;
    fixture.detectChanges();
    expect('').toBe(comp.value);
  });
  it('otherValidation()', () => {
    comp.otherValidation(fixture);
    expect(comp.otherValidation(fixture.nativeElement)).toBeUndefined;
  });
  it('getCssClass()', () => {
    comp.getCssClass();
    expect(comp.getCssClass).toBeUndefined;
  });
  it('noInnerValue()', () => {
    comp.noInnerValue(fixture);
    expect(comp.noInnerValue).toBeUndefined;
  });
  it('get helpinfomsg', () => {
    comp.helpInfoMsg = "test";
    expect(comp.helpInfoMsg).toEqual(comp.helpInfoMsg);
  });
  it('get _maxerrormsg', () => {
    expect(comp._maxerrormsg).toEqual(comp._maxerrormsg);
  });
  it('get minerrormsg', () => {
    expect(comp._minerrormsg).toEqual(comp._minerrormsg);
  });
  it('get pattern', () => {
    expect(comp._pattern).toEqual(comp._pattern);
  });
  it('set errormsg', () => {
    expect(comp._errormsg).toEqual(comp._errormsg);
  });
  it('get errormsg', () => {
    expect(comp._errormsg).toEqual(comp._errormsg);
  });

});<commit_msg>textarea:testcases<commit_after>
import { AmexioButtonComponent } from './../buttons/button.component';
import { AmexioFormIconComponent } from './../icon/icon.component';
import { AmexioTextAreaComponent } from './textarea.component';
import { By } from '@angular/platform-browser';
import { ComponentFixture, TestBed } from '@angular/core/testing';
import { FormsModule } from '@angular/forms';
import { IconLoaderService } from '../../../index';

describe('TextArea ', () => {
  let comp: AmexioTextAreaComponent;
  let fixture: ComponentFixture<AmexioTextAreaComponent>;

  beforeEach(() => {
    TestBed.configureTestingModule({
      imports: [FormsModule],
      declarations: [AmexioTextAreaComponent, AmexioFormIconComponent],
      providers: [IconLoaderService]
    });
    fixture = TestBed.createComponent(AmexioTextAreaComponent);
    comp = fixture.componentInstance;
  });
  it('true is true', () => expect(true).toBe(true));
  it('Condition Check', () => {
    comp.value;
    fixture.detectChanges();
    expect('').toBe(comp.value);
  });
  it('otherValidation()', () => {
    comp.otherValidation(fixture);
    expect(comp.otherValidation(fixture.nativeElement)).toBeUndefined;
  });
  it('getCssClass()', () => {
    comp.getCssClass();
    expect(comp.getCssClass).toBeUndefined;
  });
  it('noInnerValue()', () => {
    comp.noInnerValue(fixture);
    expect(comp.noInnerValue).toBeUndefined;
  });
  it('get helpinfomsg', () => {
    comp.helpInfoMsg = "test";
    expect(comp.helpInfoMsg).toEqual(comp.helpInfoMsg);
  });
  it('get _maxerrormsg', () => {
    expect(comp._maxerrormsg).toEqual(comp._maxerrormsg);
  });
  it('get minerrormsg', () => {
    expect(comp._minerrormsg).toEqual(comp._minerrormsg);
  });
  it('get pattern', () => {
    expect(comp._pattern).toEqual(comp._pattern);
  });
  it('set errormsg', () => {
    expect(comp._errormsg).toEqual(comp._errormsg);
  });
  it('get errormsg', () => {
    expect(comp._errormsg).toEqual(comp._errormsg);
  });
  it('check for isValid', () => {
    comp.isValid = true;
    expect(comp.isValid).toEqual(true);
  });
  it('check for pattern',()=>{
    comp._pattern;
    expect(comp._pattern).toBeUndefined;
  })
  it('check for _errormsg',()=>{
    comp._errormsg;
    expect(comp._errormsg).toBeUndefined;
  })
  it('check for _minerrormsg',()=>{
    comp._minerrormsg;
    expect(comp._minerrormsg).toBeUndefined;
  })
  it('check for _minerrormsg',()=>{
    comp._maxerrormsg;
    expect('comp._maxerrormsg').toBeUndefined;
  })

});
{'fraction_non_alphanumeric': 0.1829646017699115, 'fraction_numerical': 0.0, 'mean_word_length': 4.263096623981374, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 36, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6955681', 'n_tokens_mistral': 1465, 'n_tokens_neox': 1482, 'n_words': 202}