Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7745495
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T10:02:13+00:00 2026-06-01T10:02:13+00:00

A timer triggers every millisecond and causes a dataobject to control itself, if a

  • 0

A timer triggers every millisecond and causes a dataobject to control itself, if a change is made an event is fireing. (NowTimeCapsule : TimeCapsule : ACapsule : ICapsule)

Dependent objects (TimeCapsule : ACapsule : ICapsule) have registered for that event and update themselves if nescessary. If a change is made an event is fired.

A Form adds delegates to the dependent objects Change event, if the event fires the delegate updates a textbox.

For some reason this chain breaks down – i Unittested the individual parts and i know (by throwing messageboxed) that it runs a while before breaking down.

How can i test this chain using NUnit.
Where are reasonable corners to concentrate testing on.


EDIT:

Found it. The timer was wrapped to catch exceptions and the invoke failed with an exception. The trigger was disposed by the wrapper. I removed the wrapper and fixed the invoke, all tests green. i will write an answer as soon as i know its stable.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-01T10:02:14+00:00Added an answer on June 1, 2026 at 10:02 am

    The updater that threw the events had a bug and crashed.

    Events work fine.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

My C# application has a timer that triggers an event every 100 milliseconds. Inside
I am using timer(triggers every 2 hours) to check for any update in my
I have made a simple timer app which update a textview every second. I
I am using System.Timer to trigger an event. Currently I trigger it every 1
I am trying to get an textBox to fire it's onTextChanged event every time
we have a database with distinct login for every employee. Full of triggers checking
E.g. if I set a timer to expire every day at midnight, what will
When setting up replication in Sql Server 2008 the system creates triggers on every
I am trying to set block so its foreground color will change every time
I've got a javascript loop that triggers every time the page receives an update

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.